package cn.jingyuan.swan.uaa.config;

import cn.jingyuan.swan.cloud.oauth2.crypto.NoOpPasswordEncoder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.crypto.password.PasswordEncoder;

/**
 * 通用配置（配置应用相关）
 */
@Configuration
public class AppConfig {

    @Bean
    public PasswordEncoder passwordEncoder() {
        return NoOpPasswordEncoder.INSTANCE;
    }

}
